package com.zqw.service;

import com.zqw.info.OrderInfo;
import com.zqw.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderService {

    /**
     * 根据id查询订单
     * @param oid
     * @return
     */
    public OrderPojo queryOrder( String oid);

    /**
     * 查询订单
     * @param orderInfo
     * @return
     */
    public List<OrderPojo> queryOrderss(OrderInfo orderInfo);

    /**
     * 修改商品
     * @param orderInfo
     * @return
     */
    public boolean updOrder(OrderInfo orderInfo);

    /**
     * 删除商品
     * @param oids
     * @return
     */
    public boolean delOrder(String[] oids);

    /**
     * 修改订单详情
     * @return
     */
    public boolean updOrderDetail(OrderDetailsPojo orderDetailsPojo);

}
